<!-- INCLUDE overall_header.html -->

<table class="ua_table" align="center">
	<tr>
		<th class="table_header" colspan="10">{L_ADDON_MANAGE}</th>
	</tr>
<!-- IF S_ADDONS -->
	<tr>
		<td class="data_header">{L_NAME}</td>
		<td class="data_header">{L_TOC}</td>
		<td class="data_header">{L_REQUIRED}</td>
		<td class="data_header">{L_VERSION}</td>
		<td class="data_header">{L_UPLOADED}</td>
		<td class="data_header">{L_ENABLED}</td>
		<td class="data_header">{L_FILES}</td>
		<td class="data_header">{L_HOMEPAGE}</td>
		<!-- IF S_ADDON_ADD_DEL -->
		<td class="data_header">{L_DELETE}</td>
		<!-- ENDIF -->
	</tr>
	<!-- BEGIN addons_row -->
	<tr>
		<td class="data{addons_row.ROW_CLASS}"><a href="{addons_row.DOWNLOAD}">{addons_row.ADDONNAME}</a></td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.TOC}</td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.REQUIRED}</td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.VERSION}</td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.TIME}</td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.ENABLED}</td>
		<td class="data{addons_row.ROW_CLASS}">{addons_row.NUMFILES}</td>
		<td class="data{addons_row.ROW_CLASS}"><a href="{addons_row.HOMEPAGE}" target="_blank">{L_GO}</a></td>
		<!-- IF S_ADDON_ADD_DEL -->
		<td class="data{addons_row.ROW_CLASS}"><form name="ua_deleteaddon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
			<input type="hidden" name="{A_OPERATION}" value="{A_DELETE}" />
			<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
			<input class="submit" style="color:red;" type="submit" value="{L_DELETE}" />
			</form></td>
		<!-- ENDIF -->
	</tr>
	<!-- END addons_row -->
<!-- ELSE -->
	<tr>
		<th class="data_header">{L_NO_ADDONS}</th>
	</tr>
<!-- ENDIF -->
</table>

<!-- IF S_ADDON_ADD_DEL -->
<br />
<form name="ua_updateaddon" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
	<table class="ua_table" align="center">
		<tr>
			<th class="table_header" colspan="2">{L_ADDON_MANAGE}</th>
		</tr>
		<tr>
			<td class="data1">{L_REQUIRED}:</td>
			<td class="data1"><input type="checkbox" name="required" value="1" checked="checked" /></td>
		</tr>
		<tr>
			<td class="data2">{L_SELECT_FILE}:</td>
			<td class="data2"><input class="file" type="file" name="file" /></td>
		</tr>
		<tr>
			<td class="data1">{L_VERSION}:</td>
			<td class="data1"><input class="input" type="text" name="version" /></td>
		</tr>
		<tr>
			<td class="data2">{L_HOMEPAGE}:</td>
			<td class="data2"><input class="input" type="text" name="homepage" /></td>
		</tr>
		<tr>
			<td class="data_header" colspan="2" align="center"><input class="submit" type="submit" value="{L_ADD_UPDATE}" /></td>
		</tr>
	</table>
	<input type="hidden" name="{A_OPERATION}" value="{A_PROCESS}" />
</form>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->